Micron Document
🎖️GitЯра🎖️


Displaying Raw • View renderedDownload

core/di/README.md renovate/net.java.dev.jna-jna-5.x (5a8f4966) Text, 1.79 KB

Tc9d1d9# `:core:di`

Tc9d1d9## Overview

**Targets:** Android · JVM (Desktop) · iOS

The Ta5d6ff`:core:di` module defines the core Koin modules and provides standard dependencies that are shared across all other modules.

Tc9d1d9## Key Components

Tc9d1d9### 1. `AppModule.kt`
Defines bindings for application-wide singletons like Ta5d6ff`Application`, Ta5d6ff`Context`, and Ta5d6ff`Resources`.

Tc9d1d9### 2. `CoroutineDispatchers.kt`
Provides a wrapper for standard Kotlin Ta5d6ff`CoroutineDispatchers` (Ta5d6ff`IO`, Ta5d6ff`Default`, Ta5d6ff`Main`), allowing for easy mocking in unit tests.

Tc9d1d9### 3. `ProcessLifecycle.kt`
Exposes the application's global process lifecycle as a Koin binding, enabling components to react to the app entering the foreground or background.


Tc9d1d9## Dependency Graph

<!--region graph-->
Ta5d6ff```Ta5d6ffmermaid
Ta5d6ffgraph TB
:core:di[di]:::kmp-library
:core:di -.-> :core:common

classDef android-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-application-compose fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef compose-desktop-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef android-library fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-library-compose fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-test fill:#A0C4FF,stroke:#000,stroke-width:2px,color:#000;
classDef jvm-library fill:#BDB2FF,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library-compose fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef unknown fill:#FFADAD,stroke:#000,stroke-width:2px,color:#000;

Ta5d6ff```
<!--endregion-->

Served by rngit 1.5.2 - Generated in 0.05s